<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript">
function doExport() {
	document.form1.action = "${path}/routine/agent/index/export?commDate=${MONTH}";
	document.form1.submit();
}
</script>
	</head>
	<body id="master">
			<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
		
		<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						佣金报表
						<div class="tools-btn">
							<a href="javascript:" id="fullScreen" onclick="doExport()" ><span> <img
										src="${path}/statics/images/dcpdf.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出</span> </a>
							<a href="javascript:" onclick="javascript: history.back();"><span> <img
										src="${path}/statics/images/Redo.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />返 回</span> </a>
						</div>
					</div>
				</div>
				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;">
					<!-- 查詢列表 -->
					<table class="dg_borderstyle" cellspacing="0" cellpadding="0" style="margin-top: 15px;text-align: left;">
						<tr>
							<td>
								<span class="emp"><B>代理人：${AGENTNAME}</B> </span>
							</td>
							<td>
								<span class="emp"><B>发佣年月：${MONTH}</B> </span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="emp"><A
									href="${path}/routine/agent/index/showcomm?commDate=${MONTH}&optype=FYC">首年佣金：${list.fyc}</A>
								</span>
							</td>
							<td>
								<span class="emp"><A
									href="${path}/routine/agent/index/showcomm?commDate=${MONTH}&optype=RYC">续期佣金：${list.ryc}</A>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="emp"><A
									href="${path}/routine/agent/index/chooses?month=${MONTH}&optype=tra">辅导奖金：${list.trainb}</A>
								</span>
							</td>
							<td>
								<span class="emp"><A
									href="${path}/routine/agent/index/chooses?month=${MONTH}&optype=rec">推荐奖金：${list.recomb}</A>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="emp">综拓佣金：${list.expandamount}</span>
							</td>
							<td>
								<span class="emp">年终奖：${list.yearamount}</span>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="emp"><A
									href="${path}/routine/agent/index/chooses?month=${MONTH}&optype=spe">其它加扣款：${list.otheramount}</A>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="emp">营业税：${list.biztax}</span>
							</td>
							<td>
								<span class="emp">城建税：${list.buildtax}</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="emp">教育附加：${list.edutax}</span>
							</td>
							<td>
								<span class="emp">所得税：${list.incometax}</span>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="emp">税金累计：${list.subtax}</span>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="emp"><B>实际所得：${list.incomeamount}</B> </span>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<div class="webpart-foot">
                    <div class="webpart-foot-item"></div>
            </div>
            </div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>